package com.zyh.scs.admin.api.dto.open;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author hwh
 */
@Data
public class RollBackRechargeDTO implements Serializable {

    /**
     * 充值类型：1福利卡账户  2现金账户
     */
    @NotBlank(message = "充值类型不能为空")
    private String chargeType;

    /**
     * 充值流水号
     */
    @NotBlank(message = "充值流水号不能为空")
    private String rechargeSerial;

    /**
     * 充值金额
     */
    @NotNull(message = "充值金额不能为空")
    private BigDecimal rechargeAmount;


    /**
     * 用户id
     */
    private String guid;

}